#include <iostream>

int main()
{
	int a = 111111111;
	long long b = 12345678987654321;
	b = 0;
	for (int i = 0; i < a; i++)
		b += a;
	std::cout << b << '\n';
	std::cout << (a * a != b) << '\n';
	std::cout << ((long long)a * a != b) << '\n';
	std::cout << (a * a) << '\n';
}
